#!/bin/bash

# sum of first 10 natural numbers
sum=0
i=1

while [ $i lt 11 ]
do
    sum=$((sum+i))
    i=$((i+1))
done

echo "Sum of first 10 natural numbers is $sum"


for i in (1..10)
do
    echo $i
done



for i in 1 11 22 220 330 430
do
    echo $i
done